package com.mytomcat.catalina.container;


import com.mytomcat.catalina.valve.StandardEngineValve;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 标准引擎
 *
 * @author supu
 * @date 2019-04-19 14:42
 **/
public class StandardEngine extends ContainerBase {
    private static final Logger LOGGER = LoggerFactory.getLogger(StandardEngine.class);

    public StandardEngine() {
        pipeline.setBasic(new StandardEngineValve());
    }

    @Override
    protected void startInternal() {
        LOGGER.info("StandardEngine start");

        super.startInternal();
    }

    @Override
    protected void stopInternal() {
        LOGGER.info("StandardEngine stop");
    }

    @Override
    protected void destroyInternal() {
        LOGGER.info("StandardEngine destroy");
    }
}
